package com.svs.common.utils.data.entity;

public class DBLink {

	String templateName; // jdbc 模板名称

	DbType sourceType;// 数据库类型
	String hostName;// 主机
	String port;// 端口号
	String username; // 数据库用户名
	String password; // 数据库密码
	String dbName;// 数据库名称

	public DBLink() {

	}

	public DBLink(String templateName, String hostName, String port, String username, String password, String dbName) {
		this.templateName = templateName;
		this.hostName = hostName;
		this.port = port;
		this.username = username;
		this.password = password;
		this.dbName = dbName;
	}

	public String getTemplateName() {
		return templateName;
	}

	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}

	public DbType getSourceType() {
		return sourceType;
	}

	public void setSourceType(DbType sourceType) {
		this.sourceType = sourceType;
	}

	public String getHostName() {
		return hostName;
	}

	public void setHostName(String hostName) {
		this.hostName = hostName;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDbName() {
		return dbName;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

}
